﻿<%@ Page Title="" Language="C#" MasterPageFile="~/App_Master/AdminMaster2.master" AutoEventWireup="true" CodeFile="givelist.aspx.cs" Inherits="givelist" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="apply">
  <div class="apply2">
   <%--<uc_left_m:left_menu ID="left_m1" runat="server" />--%>
    <div class="myul_r">
      <div class="mod_pad4">
<div class="hd_admin"><em class="ulimg_admin">赠送列表</em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<a href="giveadd.aspx?t=ad">添加</a> 
</div>
<div class="admin_tab_box1"> 
       <div class="coupons"><br />
            <label class="bold green1">请选择种类：</label> 
            <asp:dropdownlist runat="server" id="caipiaoType" AutoPostBack="true" onselectedindexchanged="caipiaoType_SelectedIndexChanged"  >
    <asp:ListItem Value="1">双色球</asp:ListItem> 
<asp:ListItem Value="2">大乐透</asp:ListItem> 
<asp:ListItem Value="3">排列三</asp:ListItem> 
<asp:ListItem Value="4">排列五</asp:ListItem> 
<asp:ListItem Value="5">福彩3D</asp:ListItem> 
<asp:ListItem Value="6">七星彩</asp:ListItem> 
<asp:ListItem Value="7">七乐彩</asp:ListItem>
    </asp:dropdownlist> 
    请输入期数：<asp:textbox runat="server" maxlength="7" id="TextQS"></asp:textbox>
    <asp:button runat="server" text="查询" onclick="Unnamed2_Click" /> 
            <table class="w top20" width="100%" border="0" cellspacing="0" cellpadding="0"  id="www_zzjs_net">
              <tr class="t">
                <td style=" width:200px;">赠送用户编号</td>     
                <td style=" width:300px;">期数</td>              
                <td style=" width:460px;">倍数</td>           
                <td style=" width:500px;">购买号码</td>  
              </tr>      
              <%if (lottery != null && lottery.Count > 0)
                { %>
                <%for (int k = 0; k < lottery.Count; k++)
                  { %>
              <tr >
                <td style=" width:209px;"><%=lottery[k].User_id%></td>       
                <td style=" width:243px;">第<%=lottery[k].LotteryQs%>期</td>       
                <td style=" width:460px;"><%=lottery[k].LotteryMultiple%></td>   
                <td style=" width:500px;"><%=Bind(lottery[k].id)%>
                </td>     
              </tr>
              <%} %>
              <%}
                else
                { %>
             <tr>
                <td  colspan="6" style=" width:1060px;"><div class='no_data'>^_^&nbsp;&nbsp;没有符合条件的数据！</div></td>
              </tr> 
              <%} %>             
            </table>
          </div>
          
                  <div style="text-align:center"> <webdiyer:aspnetpager SubmitButtonClass="buttons"  ID="AspNetPager1" 
                    runat="server" AlwaysShow="True" FirstPageText="首页"
                        NextPageText="下一页" PrevPageText="前一页" LastPageText="尾页" PageSize="10"  
                        OnPageChanged="AspNetPager1_PageChanged">
                    </webdiyer:aspnetpager> </div> 
        </div>
      </div>
    </div> 
  </div> 
</div> 
</asp:Content>